/*
 * Mesh.h
 * Author: Johan Kristins
 *	
 */

#pragma once

#ifndef MESH_H_INCLUDED
#define MESH_H_INCLUDED

class Mesh
{
public:
	//static unsigned int ID_Counter;

	Mesh()
	{
		//ID_Counter++;
		m_ID = 1;
		m_iNumIndices = 0;
	};

	~Mesh()
	{
		delete [] vertex_array;
		delete [] texcoord_array;
		delete [] normal_array;
		delete [] indice_array;

		/*vertex_array = null;
		texcoord_array = NULL;
		normal_array = NULL;
		indice_array = NULL;*/
	}

	float* vertex_array;
	float* texcoord_array;
	float* normal_array;
	int* indice_array;

	int m_iNumIndices;

	unsigned int m_ID;

};

#endif
